﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for HFVariableDetails
/// </summary>
/// 
namespace CE.Admin
{
    public class HFVariableDetails
    {
        private Int64 _pvthfvariableid;
        private Int64 _hdbhfvariableid;
        private Int64 _hfpackageid;
        private Int64 _hfproviderid;
        private string _productname;
        private Int16 _loanpurpose;

        private Int16 _propertystatus;
        private Int16 _interestratetype;
        private Int16 _lockin;
        private bool _hasminimumloanamount;
        private float _minimumloanamount;
        private bool _haspolicyperiod;
	    private DateTime _policyperiodfrom;
        private DateTime _policyperiodto;

        private Int16 _pvtpropertytype;
        private int _pvtminloantenure;
        private int _pvtmaxloantenure;
        private int _pvtminageapplicant;
        private int _pvtmaxageapplicant;
        private Int16 _pvtmaxmarginfin;
        private string _pvtfullredpen;
        private string _pvtlegalfeesubsidy;
        private float _pvtinteresty1;
        private string _pvtdescriptiony1;
        private float _pvtinteresty2;
        private string _pvtdescriptiony2;
        private float _pvtinteresty3;
        private string _pvtdescriptiony3;
        private float _pvtinterestthereafter;
        private string _pvtdescriptionthereafter;
        private string _pvtmoreinfo;
        private bool _pvtstatus;

        private Int16 _hdbpropertytype;
        private int _hdbminloantenure;
        private int _hdbmaxloantenure;
        private int _hdbminageapplicant;
        private int _hdbmaxageapplicant;
        private Int16 _hdbmaxmarginfin;
        private string _hdbfullredpen;
        private string _hdblegalfeesubsidy;
        private float _hdbinteresty1;
        private string _hdbdescriptiony1;
        private float _hdbinteresty2;
        private string _hdbdescriptiony2;
        private float _hdbinteresty3;
        private string _hdbdescriptiony3;
        private float _hdbinterestthereafter;
        private string _hdbdescriptionthereafter;
        private string _hdbmoreinfo;
        private bool _hdbstatus;

        private Int64 _refceuserid;
        private string _rowguid;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public HFVariableDetails()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 PVTHFVariableId
        {
            get { return _pvthfvariableid; }
            set { _pvthfvariableid = value; }
        }

        public Int64 HDBHFVariableId
        {
            get { return _hdbhfvariableid; }
            set { _hdbhfvariableid = value; }
        }

        public Int64 HFPackageId
        {
            get { return _hfpackageid; }
            set { _hfpackageid = value; }
        }

        public Int64 HFProviderId
        {
            get { return _hfproviderid; }
            set { _hfproviderid = value; }
        }

        public string ProductName
        {
            get { return _productname; }
            set { _productname = value; }
        }

        public Int16 LoanPurpose
        {
            get { return _loanpurpose; }
            set { _loanpurpose = value; }
        }

        public Int16 PropertyStatus
        {
            get { return _propertystatus; }
            set { _propertystatus = value; }
        }

        public Int16 InterestRateType
        {
            get { return _interestratetype; }
            set { _interestratetype = value; }
        }

        public bool HasMinimumLoanAmount
        {
            get { return _hasminimumloanamount; }
            set { _hasminimumloanamount = value; }
        }

        public float MinimumLoanAmount
        {
            get { return _minimumloanamount; }
            set { _minimumloanamount = value; }
        }

        public bool HasPolicyPeriod
        {
            get { return _haspolicyperiod; }
            set { _haspolicyperiod = value; }
        }

        public DateTime PolicyPeriodFrom 
        {
            get { return _policyperiodfrom; }
            set { _policyperiodfrom = value; }
        }

        public DateTime PolicyPeriodTo
        {
            get { return _policyperiodto; }
            set { _policyperiodto = value; }
        }

        public Int16 LockIn
        {
            get { return _lockin; }
            set { _lockin = value; }
        }


        public Int16 PVTPropertyType
        {
            get { return _pvtpropertytype; }
            set { _pvtpropertytype = value; }
        }

        public int PVTMinLoanTenure
        {
            get { return _pvtminloantenure; }
            set { _pvtminloantenure = value; }
        }

        public int PVTMaxLoanTenure
        {
            get { return _pvtmaxloantenure; }
            set { _pvtmaxloantenure = value; }
        }

        public int PVTMinAgeApplicant
        {
            get { return _pvtminageapplicant; }
            set { _pvtminageapplicant = value; }
        }

        public int PVTMaxAgeApplicant
        {
            get { return _pvtmaxageapplicant; }
            set { _pvtmaxageapplicant = value; }
        }

        public Int16 PVTMaxMarginFin
        {
            get { return _pvtmaxmarginfin; }
            set { _pvtmaxmarginfin = value; }
        }

        public string PVTFullRedPen
        {
            get { return _pvtfullredpen; }
            set { _pvtfullredpen = value; }
        }

        public string PVTLegalFeeSubsidy
        {
            get { return _pvtlegalfeesubsidy; }
            set { _pvtlegalfeesubsidy = value; }
        }

        public float PVTInterestY1
        {
            get { return _pvtinteresty1; }
            set { _pvtinteresty1 = value; }
        }

        public string PVTDescriptionY1
        {
            get { return _pvtdescriptiony1; }
            set { _pvtdescriptiony1 = value; }
        }

        public float PVTInterestY2
        {
            get { return _pvtinteresty2; }
            set { _pvtinteresty2 = value; }
        }

        public string PVTDescriptionY2
        {
            get { return _pvtdescriptiony2; }
            set { _pvtdescriptiony2 = value; }
        }

        public float PVTInterestY3
        {
            get { return _pvtinteresty3; }
            set { _pvtinteresty3 = value; }
        }

        public string PVTDescriptionY3
        {
            get { return _pvtdescriptiony3; }
            set { _pvtdescriptiony3 = value; }
        }

        public float PVTInterestThereAfter
        {
            get { return _pvtinterestthereafter; }
            set { _pvtinterestthereafter = value; }
        }

        public string PVTDescriptionThereAfter
        {
            get { return _pvtdescriptionthereafter; }
            set { _pvtdescriptionthereafter = value; }
        }

        public string PVTMoreInfo
        {
            get { return _pvtmoreinfo; }
            set { _pvtmoreinfo = value; }
        }

        public bool PVTStatus
        {
            get { return _pvtstatus; }
            set { _pvtstatus = value; }
        }

        
        public Int16 HDBPropertyType
        {
            get { return _hdbpropertytype; }
            set { _hdbpropertytype = value; }
        }

        public int HDBMinLoanTenure
        {
            get { return _hdbminloantenure; }
            set { _hdbminloantenure = value; }
        }

        public int HDBMaxLoanTenure
        {
            get { return _hdbmaxloantenure; }
            set { _hdbmaxloantenure = value; }
        }

        public int HDBMinAgeApplicant
        {
            get { return _hdbminageapplicant; }
            set { _hdbminageapplicant = value; }
        }

        public int HDBMaxAgeApplicant
        {
            get { return _hdbmaxageapplicant; }
            set { _hdbmaxageapplicant = value; }
        }

        public Int16 HDBMaxMarginFin
        {
            get { return _hdbmaxmarginfin; }
            set { _hdbmaxmarginfin = value; }
        }

        public string HDBFullRedPen
        {
            get { return _hdbfullredpen; }
            set { _hdbfullredpen = value; }
        }

        public string HDBLegalFeeSubsidy
        {
            get { return _hdblegalfeesubsidy; }
            set { _hdblegalfeesubsidy = value; }
        }

        public float HDBInterestY1
        {
            get { return _hdbinteresty1; }
            set { _hdbinteresty1 = value; }
        }

        public string HDBDescriptionY1
        {
            get { return _hdbdescriptiony1; }
            set { _hdbdescriptiony1 = value; }
        }

        public float HDBInterestY2
        {
            get { return _hdbinteresty2; }
            set { _hdbinteresty2 = value; }
        }

        public string HDBDescriptionY2
        {
            get { return _hdbdescriptiony2; }
            set { _hdbdescriptiony2 = value; }
        }

        public float HDBInterestY3
        {
            get { return _hdbinteresty3; }
            set { _hdbinteresty3 = value; }
        }

        public string HDBDescriptionY3
        {
            get { return _hdbdescriptiony3; }
            set { _hdbdescriptiony3 = value; }
        }

        public float HDBInterestThereAfter
        {
            get { return _hdbinterestthereafter; }
            set { _hdbinterestthereafter = value; }
        }

        public string HDBDescriptionThereAfter
        {
            get { return _hdbdescriptionthereafter; }
            set { _hdbdescriptionthereafter = value; }
        }

        public string HDBMoreInfo
        {
            get { return _hdbmoreinfo; }
            set { _hdbmoreinfo = value; }
        }

        public bool HDBStatus
        {
            get { return _hdbstatus; }
            set { _hdbstatus = value; }
        }


        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string rowguid
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _pvthfvariableid = 0;
            _hdbhfvariableid = 0;
            _hfpackageid = 0;
            _hfproviderid = 0;
            _productname = "";
            _loanpurpose = 0;
            _propertystatus = 0;
            _interestratetype = 0;
            _hasminimumloanamount = false;
            _minimumloanamount = 0.0f;
            _haspolicyperiod = false;
            _policyperiodfrom = CE.Global.General.GetUTCDateTime();
            _policyperiodto = CE.Global.General.GetUTCDateTime();
            _lockin = 0;

            _pvtpropertytype = 0;
            _pvtminloantenure = 0;
            _pvtmaxloantenure = 0;
            _pvtminageapplicant = 0;
            _pvtmaxageapplicant = 0;
            _pvtmaxmarginfin = 0;
            _pvtfullredpen = "";
            _pvtlegalfeesubsidy = "";
            _pvtinteresty1 = 0.0f;
            _pvtdescriptiony1 = "";
            _pvtinteresty2 = 0.0f;
            _pvtdescriptiony2 = "";
            _pvtinteresty3 = 0.0f;
            _pvtdescriptiony3 = "";
            _pvtinterestthereafter = 0.0f;
            _pvtdescriptionthereafter = "";
            _pvtmoreinfo = "";
            _pvtstatus = false;

            _hdbpropertytype = 0;
            _hdbminloantenure = 0;
            _hdbmaxloantenure = 0;
            _hdbminageapplicant = 0;
            _hdbmaxageapplicant = 0;
            _hdbmaxmarginfin = 0;
            _hdbfullredpen = "";
            _hdblegalfeesubsidy = "";
            _hdbinteresty1 = 0.0f;
            _hdbdescriptiony1 = "";
            _hdbinteresty2 = 0.0f;
            _hdbdescriptiony2 = "";
            _hdbinteresty3 = 0.0f;
            _hdbdescriptiony3 = "";
            _hdbinterestthereafter = 0.0f;
            _hdbdescriptionthereafter = "";
            _hdbmoreinfo = "";
            _hdbstatus = false;

            //common field name
            _refceuserid = 0;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

        }

    }
}